package com.zs.blog.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Title: AuthorityListVO
 * @Author zs
 * @Package com.zs.blog.model.vo
 * @Date 2025/9/18 21:03
 * @description: 系统资源权限列表视图对象
 */
@Data
public class AuthorityListVO {
    @Schema(description = "主键ID")
    public Long id;

    @Schema(description = "权限描述")
    public String authorityDescription;

    @Schema(description = "权限描述符")
    public String authorityDescriptor;

    @Schema(description = "权限所属菜单")
    public String menuName;

    @Schema(description = "创建时间")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss",shape = JsonFormat.Shape.STRING)
    public LocalDateTime createTime;

    @Schema(description = "更新时间")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss",shape = JsonFormat.Shape.STRING)
    public LocalDateTime updateTime;
}
